Skip to main content

menuButton

Type

function

Summary

Returns the name of the button that triggered display of a stack menu.

Syntax

the menuButton
menuButton()

Description

Use the menuButton function within a handler in a stack menu to determine which button opened the menu.

Examples

the menuButton
hide the menuButton

keyword: me, menu, button

object: stack

property: menuHistory, menuMouseButton, name, menuName

command: option

control structure: function

glossary: handler, stack menu, property, trigger, return

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?